libc\windows\msvc/
mod.rs

1use crate::prelude::*;
2
3// POSIX Supplement (from errno.h)
4// This particular error code is only currently available in msvc toolchain
5pub const EOTHER: c_int = 131;
6
7extern "C" {
8    #[link_name = "_stricmp"]
9    pub fn stricmp(s1: *const c_char, s2: *const c_char) -> c_int;
10    #[link_name = "_strnicmp"]
11    pub fn strnicmp(s1: *const c_char, s2: *const c_char, n: size_t) -> c_int;
12    #[link_name = "_memccpy"]
13    pub fn memccpy(dest: *mut c_void, src: *const c_void, c: c_int, count: size_t) -> *mut c_void;
14}